package com.manzuo.framework.ibatis;

import java.util.List;

/**
 * 基于泛型的Dao接口
 * 
 * @author 高恒
 */
public interface Dao {
	public <T> T insert(String statement, Object parameters);
	public int delete(String statement, Object parameters);
	public int update(String statement, Object parameters);
	public <T> T unique(String statement, Object parameters);
	public <T> T uniqueLoose(String statement, Object parameters);
	public <T> List<T> list(String statement, Object parameters);
}
